package com.five.system.mapper;

import com.five.basic.mapper.BaseMapper;
import com.five.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {


    List<Menu> queryMenuTree();

    Integer queryCountByParent();

    Integer queryCountByParentId(Long parentId);

    List<Long> queryMenusView(Long id);

    List<Menu> queryByUserId(Long id);

}
